//
//  SIDefine.h
//  CampingLight
//
//  Created by Piccolo on 2017/11/5.
//  Copyright © 2017年 SmartIT. All rights reserved.
//

#ifndef SIDefine_h
#define SIDefine_h
#import "SIDefineColor.h"
#import "SIDefineScene.h"
#import "SIDefineTimeFormatter.h"
#import "SIDefineUserDefaultKey.h"

#endif /* SIDefine_h */

#define DEVICE_VERSION [[SIUtil getDeviceVersion] floatValue]
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_WIDTH_COEFFIENT (SCREEN_WIDTH / 375.f)
#define SCREEN_HEIGHT_COEFFIENT (SCREEN_HEIGHT / 667.f)
#define IPHONE_6_SCREEN_WIDTH 375.f
#define DELTA_STATUS_BAR_HEIGHT_OF_IPHONE_X 24.f
#define STATUS_BAR_HEIGHT [UIApplication sharedApplication].statusBarFrame.size.height
#define NAVIGATION_BAR_HEIGHT self.navigationController.navigationBar.frame.size.height
#define TAB_BAR_HEIGHT self.tabBarController.tabBar.frame.size.height
#define DEFAULT_SPACE_HEIGHT 8.f
#define NAVIGATION_BAR_ITEM_SIZE CGSizeMake(25.f, 25.f)
#define VERSION_CACHE_KEY @"version_1_1"

